package com.bsj.media.media.packageFlv;

import lombok.Data;

@Data
public class CacheParams {
    /**
     * 请求的uri
     */
    private String uri;
    /**
     * 码流类型,0 不做判断，1是主码流，2是子码流，根据码流切换拼的地址来做
     */
    private int codeType;
    /**
     * 设备协议类型: 1:1078协议  2:FD协议
     */
    private int protocolType;


    public CacheParams(String uri, int codeType, int protocolType) {
        this.uri = uri;
        this.codeType = codeType;
        this.protocolType = protocolType;
    }
}
